package team.se.tms.po;

import lombok.Data;
import team.se.tms.annotation.Regex;

import java.io.Serializable;

/**
 * 用户信息类
 *
 * @author winkyle
 * @date 2018/11/10
 */
@Data
public class UserInfo implements Serializable{
    @Regex("^[a-zA-Z0-9]{16}$")
    private String userId;
    @Regex("^[a-zA-Z0-9]{3,16}$")
    private String userPassword;
    private String userHeadPath;
    private String userSkin;
    @Regex("^[a-zA-Z0-9]{16}$")
    private String roleId;
}
